package com.net.xpay.core.model;

import com.net.common.model.PagedModel;
import com.net.xpay.core.enums.AccountBillType;
import com.net.xpay.core.enums.AccountFundType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2020/5/11 15:36

 */
@Getter
@Setter
@NoArgsConstructor
public class AccountLogSearchModel extends PagedModel {
    @ApiModelProperty(notes = "账单类别")
    private AccountBillType type;

    @ApiModelProperty(notes = "资金类型")
    private AccountFundType accountFundType;

    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "创建时间下限", example = "2018-12-24 21:14:19")
    private LocalDateTime createMinTime;

    @ApiModelProperty(notes = "创建时间上限", example = "2018-12-24 21:14:26")
    private LocalDateTime createMaxTime;

    //以下为后台自动填充字段,前端不要赋值
    @ApiModelProperty(notes = "用户编号")
    private Long userId;
}
